export const AllManageRouter = [
    {
        path: 'home_page',
        name: 'home_page',
        component: () => import('@/view/ManageMode/HomePage/index.vue'),
        meta: {
            title: '首页',
            requiresAuth: true,
            icon: 'HomeFilled',
            sort: 0
        },
    },
    {
        path: 'customer_list',
        name: 'customer_list',
        component: () => import('@/view/ManageMode/CustomerList/index.vue'),
        meta: {
            title: '客户列表',
            requiresAuth: true,
            icon: 'User',
            sort: 1
        },
    },
    {
        path: 'check_list',
        name: 'check_list',
        component: () => import('@/view/ManageMode/CheckList/index.vue'),
        meta: {
            title: '检查列表',
            requiresAuth: true,
            icon: 'Files',
            sort: 2
        }
    },
    {
        path: 'product_list',
        name: 'product_list',
        component: () => import('@/view/ManageMode/ProductList/index.vue'),
        meta: {
            title: '商品列表',
            requiresAuth: true,
            icon: 'List',
            sort: 3
        }
    },
    // {
    //     path: 'product_manage',
    //     name: 'product_manage',
    //     component: () => import('@/view/ManageMode/ProductManage/index.vue'),
    //     meta: {
    //         title: '商品管理',
    //         requiresAuth: true,
    //         icon: 'List',
    //         sort: 3
    //     },
    //     children: [
    //         {
    //             path: 'product_list',
    //             name: 'product_list',
    //             component: () => import('@/view/ManageMode/ProductManage/ProductList/index.vue'),
    //             meta: {
    //                 title: '商品列表',
    //                 requiresAuth: true,
    //                 icon: 'List',
    //                 sort: 1
    //             }
    //         },
    //     ]
    // },
    {
        path: 'purchase_list',
        name: 'purchase_list',
        component: () => import('@/view/ManageMode/PurchaseList/index.vue'),
        meta: {
            title: '采购列表',
            requiresAuth: true,
            icon: 'HelpFilled',
            sort: 4
        }
    },
    {
        path: 'order_list',
        name: 'order_list',
        component: () => import('@/view/ManageMode/OrderList/index.vue'),
        meta: {
            title: '售货列表',
            requiresAuth: true,
            icon: 'Grid',
            sort: 4
        }
    },
    {
        path: 'device_list',
        name: 'device_list',
        component: () => import('@/view/ManageMode/DeviceList/index.vue'),
        meta: {
            title: '设备列表',
            requiresAuth: true,
            icon: 'Postcard',
            sort: 5
        }
    },
    // {
    //     path: 'cooperation_doctor',
    //     name: 'cooperation_doctor',
    //     component: () => import('@/view/ManageMode/CooperationDoctor/index.vue'),
    //     meta: {
    //         title: '合作医生',
    //         requiresAuth: true,
    //         icon: 'Stamp',
    //         sort: 6
    //     }
    // },
    {
        path: 'report_manage',
        name: 'report_manage',
        component: () => import('@/view/ManageMode/ReportManage/index.vue'),
        meta: {
            title: '报告管理',
            requiresAuth: true,
            icon: 'Document',
            sort: 7
        }
    },
    {
        path: 'return_list',
        name: 'return_list',
        component: () => import('@/view/ManageMode/ReturnList/index.vue'),
        meta: {
            title: '退货列表',
            requiresAuth: true,
            icon: 'SoldOut',
            sort: 8
        }
    },
    {
        path: 'water_bill',
        name: 'water_bill',
        component: () => import('@/view/ManageMode/WaterBill/index.vue'),
        meta: {
            title: '流水列表',
            requiresAuth: true,
            icon: 'Histogram',
            sort: 10
        }
    },
    {
        path: 'supplier_list',
        name: 'supplier_list',
        component: () => import('@/view/ManageMode/SupplierList/index.vue'),
        meta: {
            title: '供应商列表',
            requiresAuth: true,
            icon: 'Shop',
            sort: 12
        }
    },
    {
        path: 'return_visit',
        name: 'return_visit',
        component: () => import('@/view/ManageMode/ReturnVisit/index.vue'),
        meta: {
            title: '回访记录列表',
            requiresAuth: true,
            icon: 'Comment',
            sort: 15
        }
    },
    {
        path: 'sales_serve',
        name: 'sales_serve',
        component: () => import('@/view/ManageMode/SalesServe/index.vue'),
        meta: {
            title: '售后服务',
            requiresAuth: true,
            icon: 'BellFilled',
            sort: 18
        }
    },
    {
        path: 'department_staff',
        name: 'department_staff',
        component: () => import('@/view/ManageMode/DepartmentStaff/index.vue'),
        meta: {
            title: '部门员工管理',
            requiresAuth: true,
            icon: 'Management',
            sort: 20
        },
        children: [
            {
                path: 'department_list',
                name: 'department_list',
                component: () => import('@/view/ManageMode/DepartmentStaff/DepartmentList/index.vue'),
                meta: {
                    title: '部门列表',
                    requiresAuth: true,
                    icon: 'TrendCharts',
                    sort: 1
                }
            },
            {
                path: 'staff_list',
                name: 'staff_list',
                component: () => import('@/view/ManageMode/DepartmentStaff/StaffList/index.vue'),
                meta: {
                    title: '员工列表',
                    requiresAuth: true,
                    icon: 'Avatar',
                    sort: 1
                }
            },
        ]
    },

    {
        path: 'config_center',
        name: 'config_center',
        component: () => import('@/view/ManageMode/ConfigurationCenter/index.vue'),
        meta: {
            title: '配置中心',
            requiresAuth: true,
            icon: 'Setting',
            sort: 99
        },
        children: [
            {
                path: 'report_style',
                name: 'report_style',
                component: () => import('@/view/ManageMode/ConfigurationCenter/ReportStyle/index.vue'),
                meta: {
                    title: '报告样式设置',
                    requiresAuth: true,
                    icon: 'Guide',
                    sort: 1
                },
            },
            {
                path: 'self_billing',
                name: 'self_billing',
                component: () => import('@/view/ManageMode/ConfigurationCenter/SelfBilling/index.vue'),
                meta: {
                    title: '自助开单设置',
                    requiresAuth: true,
                    icon: 'SetUp',
                    sort: 2
                },
            },
            {
                path: 'preference_set',
                name: 'preference_set',
                component: () => import('@/view/ManageMode/ConfigurationCenter/PreferenceSet/index.vue'),
                meta: {
                    title: 'AI偏好词设置',
                    requiresAuth: true,
                    icon: 'Share',
                    sort: 3
                },
            },
        ]
    },
]